package com.example.test;

public class Three_Equals {
    public static void main(String[] args) {
        String str = new String("hello");
        System.out.println(str);
        if (str=="hello"){
            System.out.println(true);
        }else {
            System.out.println(false);//
        }
        if (str.equals("hello")){
            System.out.println(true);//
        }else {
            System.out.println(false);
        }
    }
}
